package com.vhall.component.entity.gift.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.entity.page.vo.PageVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * GiftPageDTO-
 *
 * @author xing.wang
 * @date 2022/10/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GiftPageDTO<T extends Serializable> extends PageVO<T> implements Serializable {
    @JsonProperty("gift_frequency")
    private Integer giftFrequency;

    public GiftPageDTO(Integer index, int size, int total, List<T> data) {
        super(index, size, total, data);
    }
}
